#ifndef CHECK_H
#define CHECK_H

#include <QWidget>
#include <QSqlDatabase>
#include <QtDebug>
#include <QSqlQuery>
#include <QPushButton>
#include <QVector>
#include <QStringList>
#include <QDate>
#include <QButtonGroup>
#include <QMessageBox>


namespace Ui {
class check;
}

class check : public QWidget
{
    Q_OBJECT

public:
    explicit check(QWidget *parent = nullptr);
    ~check();
signals:
    void show_screen(int, QString);

private:
    Ui::check *ui;
    QSqlDatabase sql;
    int id;
    void set_menu();
    void set_ReadOnly();

private slots:
    void get_id(int);
    void can_change(bool);
    void del_info();
    void click_screen();
};

#endif // CHECK_H
